<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>编辑留言</title>

<link href="css/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script>
    //设置表单中的初始时间，比当前时间多一小时
   
</script>
</head>

<body>

<div>
			<h2>修改</h2>
			<form action="bbssave.php?e_id=<?php echo  $editbbs['e_id'] ?>" method="post">
			<table border="1" width="50%">
			<tr>
			<th>姓名</th>
			<td><input class="name" name="e_name" type="text" placeholder="请输入你的姓名" value="<?php echo  $editbbs['e_name'] ?>" /></td>
			</tr>
			<tr>
			<th>所属部门</th>
			<td><input class="dept" name="e_dept" type="text" placeholder="请输入部门" value="<?php echo  $editbbs['e_dept'] ?>"/></td>
			</tr>
			<tr>
			<th>头像</th>
			<td>
			    <input type="radio" name="e_img" value="images/1.jpg" <?php if ($editbbs['e_img']=='images/1.jpg')  echo "checked='checked'";
          ?>/><img src=" images/1.jpg" alt="" height="80px" width="80px" />
					<input type="radio" name="e_img" value="images/2.jpg" <?php if ($editbbs['e_img']=='images/2.jpg')  echo "checked='checked'";
          ?>/><img src=" images/2.jpg" alt="" height="80px" width="80px" />
					<input type="radio" name="e_img" value="images/3.jpg" <?php if ($editbbs['e_img']=='images/3.jpg')  echo "checked='checked'";
          ?>/><img src=" images/3.jpg" alt="" height="80px" width="80px" />
					<input type="radio" name="e_img" value="images/4.jpg" <?php if ($editbbs['e_img']=='images/4.jpg')  echo "checked='checked'";
          ?>/><img src=" images/4.jpg" alt="" height="80px" width="80px" /></td>
			</tr>
			<tr>
			<th>出生日期</th>
			<td><input type="datetime-local" name="date_of_birth" value="<?php $a=date_create ($editbbs["date_of_birth"]); echo date_format($a,"Y-m-d")."T".date_format($a,"h:i:s"); ?>"/></td>
			</tr>
			<tr>
			<th>入职日期</th>
			<td><input type="datetime-local" name="date_of_entry" value="<?php $a=date_create ($editbbs["date_of_birth"]); echo date_format($a,"Y-m-d")."T".date_format($a,"h:i:s"); ?>"/></td>
			</tr>
			<tr>
			<th></th>
			<td><input type="submit" value="修改员工"></td>
			</tr>
			</table>
</div>



</body>
</html>
